new Vue({   //创建一个Vue的实例
    el: "#contant_c", //挂载点是id="app"的地方
    props: ['post','item'],
    data:{
        tableData: [{
            date: '222222',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1518 弄',
            upload_img:"http://img.shein.com/images2/2018/05/09/15258522023136879796.png"
        }, {
            date: '444444',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1517 弄',
            upload_img:"http://img.shein.com/images2/2018/05/09/15258522023136879796.png"
        }, {
            date: '111111',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1519 弄',
            upload_img:"http://img.shein.com/images2/2018/05/09/15258522023136879796.png"
        }, {
            date: '333333',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1516 弄',
            upload_img:"http://img.shein.com/images2/2018/05/09/15258522023136879796.png"
        }],
        data1: true,
        data2: "",
        data3: [1],
        data4:"国",
        isActive:true,
        isActive2:false,
        selected:true
    },
    created(){
        console.log(3333)
    },
    methods: {
        set1: function () {
            this.data1 = !this.data1;
            this.isActive=!this.isActive
            this.isActive2=!this.isActive2
            // $('.pppp').css("color","red")
        },
        childByValue: function (childValue) {
            // childValue就是子组件传过来的值
            this.data4 = childValue
        },
        set2: function (arg) {
            this.data2 = arg;
        },
        set3: function (arg) {
            this.data3.push(this.data3.length + 1);
        }
    }
})
$(window).ready(function () {
    $('.ppp').html(999999994534549)
})